QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

General Polygon Shape Hints

A general polygon has a shape hint associated with it that specifies the shape of the general polygon. A general polygon's shape hint may be used by a renderer to optimize drawing the polygon.

typedef enum TQ3GeneralPolygonShapeHint {
    kQ3GeneralPolygonShapeHintComplex,
    kQ3GeneralPolygonShapeHintConcave,
    kQ3GeneralPolygonShapeHintConvex
} TQ3GeneralPolygonShapeHint;

Constant descriptions

kQ3GeneralPolygonShapeHintComplex
The general polygon consists of more than one contour, is self-intersecting, or is not known to be either concave or convex.
kQ3GeneralPolygonShapeHintConcave
The general polygon has exactly one contour, which is concave.
kQ3GeneralPolygonShapeHintConvex
The general polygon has exactly one contour, which is convex.

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |